package zplh.com.commonlibrary.utils;

/**
 * Created by yong hao zeng on 2018/6/29.
 */
public class CommandResult {

    /** result of command **/
    public int result;
    /** success message of command result **/
    public String successMsg;
    /** error message of command result **/
    public String errorMsg;


    public CommandResult(int result) {
        this.result = result;
    }


    public CommandResult(int result, String successMsg, String errorMsg) {
        this.result = result;
        this.successMsg = successMsg;
        this.errorMsg = errorMsg;
    }
}
